<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>网页核心内容对视觉表现的影响_我的网站</title>
    <meta name="keywords" content="网页,核心,内容,视觉,表现,影响,信息,优化,提炼,永远,">
    <meta name="description" content="对信息的优化和提炼永远都是设计的第一步。这是百度联盟用户体验中心Banner上的一句话。在自己做网页设计的过程中，越来越对这样的概括有了 切身的体会和想法。当然，这句精炼的句子其实包含了非常多的内容，我">
    <meta http-equiv="mobile-agent" content="format=xhtml;url=/m/view.php?aid=374">
    <link rel="stylesheet" href="__PUBLIC__/static/index/css/style.css" type="text/css">
    <script type="text/javascript" src="__PUBLIC__/static/index/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/index/js/gotop.js"></script>
    <script src="__PUBLIC__/static/index/js/share.js"></script><script src="__PUBLIC__/static/index/js/share.js"></script><link rel="stylesheet" href="__PUBLIC__/static/index/css/share_style1_16.css"></head>

<link rel="stylesheet" href="__PUBLIC__/static/admin/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="__PUBLIC__/static/admin/layuiadmin/style/admin.css" media="all">
<link rel="stylesheet" href="__PUBLIC__/static/index/css/reg19.css" media="all">

<body>
<div class="head">
    <div class="logo"><a href="http://127.0.0.1/"><img src="__PUBLIC__/static/index/images/logo.jpg" alt="我的网站"></a></div>
    <div class="search">
        <form action="{:URL('index/index/search',['keyword'=>111,'page'=>1])}" name="formsearch">
            <input value="{$keyword??'请输入关键词'}" name="keyword" type="text" class="search-keyword keyword fl" id="search-keyword" onfocus="if(this.value==&#39;请输入关键词&#39;){this.value=&#39;&#39;;}" onblur="if(this.value==&#39;&#39;){this.value=&#39;请输入关键词&#39;;}">
            <button type="button" class="search-submit fl">搜 索</button>
        </form>
    </div>
</div>
<div class="nav">
    <ul>
        <li><a href="{:URL('index/index/index')}" class="home">首页</a></li>
        <li><a href="{:URL('index/index/special',['id'=>6])}" rel="dropmenu1">找代驾</a></li>
        <li><a href="{:URL('index/index/special',['id'=>6])}" rel="dropmenu15">开代驾公司</a></li>
        <li><a href="{:URL('index/index/articlelist',['categoryid'=>7,'page'=>1])}" rel="dropmenu25">运营代驾公司</a></li>
        <li><a href="{:URL('index/index/special',['id'=>10])}">代驾市场</a></li>
        <li><a href="{:URL('index/index/articlelist',['categoryid'=>11,'page'=>1])}">代驾资讯</a></li>
    </ul>
</div>
<div class="weizhi">您的当前位置：<a href="/">主页</a> &gt; 公司免费入驻 </div>
<div class="main1" style="width:100%;border-top: 2px #00b156 solid;">
    <div class="container" style="margin-top:30px;">

        <div class="main-head">
            <div class="main-title">
                <h3>公司免费入驻</h3>
            </div>
        </div>

        <div class="reg_form">
            <form name="fReg" id="fReg" action="" method="post">
                <ul class="regmain">
                    <li>
                        <div class="info3"><span class="f00">*</span>公司名称</div>
                        <div class="inp"><input class="inp_text" type="text" name="company_name" id="company_name" value="" style="width: 400px;"></div>
                    </li>
                    <li>
                        <div class="info3"><span class="f00">*</span>公司地址</div>
                        <div class="inp"><input class="inp_text" type="text" name="address" id="address"  value="" style="width: 400px;"></div>
                    </li>
                    <li>
                        <div class="info3"><span class="f00">*</span>手机号码</div>
                        <div class="inp"><input class="inp_text" type="text" name="mobile" id="mobile"  value=""></div>
                        <div class="tip"><span class="s1" id="spMobile">请正确填写手机号码，以便验证</span></div>
                    </li>
                    <li>
                        <div class="info3"><span class="f00">*</span>短信验证码</div>
                        <div class="inp0">
                            <div class="vcode"><input name="SCode" id="SCode" class="inp_text_code" type="text"></div>
                            <div class="vcode1" id="btnGetCode" style="color: #fff;">获取短信验证码</div>
                            <div class="tip"><span class="s1" id="spSCode">　</span></div>
                        </div>
                    </li>
                    <li>
                        <div class="info3" style="padding-top:0px;"><input type="checkbox" id="zcckid" value="" checked></div>
                        <div class="inp0">我已阅读并同意<a style="cursor:pointer" id="agreement" target="_blank">《代驾信息网公司服务协议》</a><span id="xieyi" style="color: #ff0000;"></span></div>
                    </li>
                    <li>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <span type="submit" id="submit" class="layui-btn" lay-submit="" lay-filter="formDemo" style="background-color: #2f90ff;width:200px;border-radius: 8px;">立即注册</span>
                                <a  class="layui-btn" href="{:URL('admin/article/index')}" style="border-radius: 8px;width:200px;background-color: #898f92" >直接登录</a>
                            </div>
                        </div>
                    </li>
                </ul>
            </form>
        </div>
    </div>

</div>
<div class="foot">
    <p><a href="http://www.mobantianxia.com/" target="_blank">模板天下</a> www.mobantianxia.com 联系QQ：498872301 邮箱：498872301@qq.com</p>
    <p>Copyright © 2002-2011 DEDECMS. 织梦科技 版权所有 Power by DedeCms</p>
</div>
<a href="http://127.0.0.1/a/ziyuan/shejililun/374.html#0" class="cd-top cd-is-visible cd-fade-out">Top</a>
<script src="__PUBLIC__/static/admin/layuiadmin/layui/layui.js"></script>

<script type="text/javascript">
    $(function(){
        $('.search-submit').click(function(){
            var keyword = $(".keyword").val();

            var url = "{:URL('index/index/search',['keyword'=>'KEYWORD','page'=>1])}";
            url = url.replace('KEYWORD',keyword);
            window.location.href= url;
        });
    });


</script>

<script>


    layui.use(['layer','table','form','upload'],function () {
        var layer = layui.layer;
        var form = layui.form;
        var table = layui.table;
        var $ = layui.$ //由于layer弹层依赖jQuery，所以可以直接得到
        var upload = layui.upload

        $("#agreement").click(function(){
            var url2 = "{:URL('index/company/agreement')}";
            layer.open({
                type: 2,
                skin: 'layui-layer-demo', //样式类名
                title: '公司注册协议',
                closeBtn: 1, //不显示关闭按钮
                anim: 2,
                area: ['693px', '600px'],
                shadeClose: true, //开启遮罩关闭
                content:url2
            });
        });


        $("#zcckid").bind("click", function () {
            if ($("#zcckid").is(":checked")){
                $("#xieyi").html("");
            }else{
                layer.msg('请勾选同意协议');
            }
        });

        $("#btnGetCode").click(function(){
            alert(1111111);
            var oObj=$("#VCode");
            var sMobile=$("#mobile").val();
            var sVCode=oObj.val();
            $.ajax({
                method:"POST",
                url:"/index.aspx?",
                data:{act:"SendSmsCode",Mobile:sMobile,VCode:sVCode,Type:0},
                dataType:"json",
                success:function(oRet){
                    var iRet=3;
                    if(oRet.Ret>=0){
                        iRet=2;
                        giSecs=60;
                        ShowTime();
                        $("#btnGetCode").prop("disabled",true);
                    }else if(oRet.Ret<0){SetVcode();}
                    oObj.SetFieldState(iRet);
                },
                error:function(oRet){}
            });
        });
        $("#company_name").blur(function(){
            if(!$(this).val()){
                layer.msg('公司名称必填的哦！');
                $("#company_name").focus();
                return false;
            }
        });

        $("#address").blur(function(){
            if(!$(this).val()){
                layer.msg('公司地址必填的哦！');
                $("#address").focus();
                return false;
            }
        });

        $("#mobile").blur(function(){
            if(!$(this).val()){
                layer.msg('手机号码必填的哦！');
                $("#mobile").focus();
                return false;
            }

            var rex = /^1[3-9]+\d{9}$/;
            if (!rex.test($(this).val())) {
                layer.msg('手机号码格式错误了哦！');
                $("#mobile").focus();
                return false;
            }

        });
        //提交
        form.on('submit(formDemo)', function(data2) {
            var company_name = $("#company_name").val()
            if(!company_name){
                layer.msg('公司名称必填的哦！');
                $("#company_name").focus();
                return false;
            }
            var address = $("#address").val()
            if(!address){
                layer.msg('公司地址必填的哦！');
                $("#address").focus();
                return false;
            }
            var mobile = $("#mobile").val()
            if(!mobile){
                layer.msg('手机号码必填的哦！');
                $("#mobile").focus();
                return false;
            }

            var rex = /^1[3-9]+\d{9}$/;
            if (!rex.test(mobile)) {
                layer.msg('手机号码格式错误了哦！');
                $("#mobile").focus();
                return false;
            }
            var SCode = $("#SCode").val()
            if(!SCode){
                layer.msg('短信验证码必填的哦！');
                $("#SCode").focus();
                return false;
            }
            var data = {'name':company_name,'address':address,'code':SCode,'phone':mobile};

            if ($("#zcckid").is(":checked")){ }else{ layer.msg('请勾选同意协议'); return false; }

            $.ajax({
                type: 'POST',
                url: '{:url("index/company/registerDo")}',
                data: data,
                success: function (ret) {
                    if (ret.code == 200) {
                        layer.msg(ret.msg, {icon: 6, time: 1000}, function () {
                            window.location.href='{:url("index/index/index")}';
                        });
                    }else{
                        layer.msg(ret.msg);
                        if(ret.msg == '验证码错误了哦'){
                            $("#SCode").focus();
                        }
                    }
                    return false;
                }
            });

            return false;
        })
    })

    function ShowTime(){
        var oGetCode = $("#btnGetCode");
        if (!oGetCode) return;
        if (giSecs<0) {
            oGetCode.val("获取短信验证码");
            $("#btnGetCode").prop("disabled",false);
            return;
        }
        oGetCode.val("剩余"+giSecs+"秒");
        setTimeout(ShowTime, 1000);
        giSecs--;
    }
</script>

</body>
</html>